import axios from "axios";
import { config } from "chai";

export const Service = axios.create({
    timeout: 5000,
    method: "POST",
    headers: {

    }
})

Service.interceptors.request.use(config => {
    return config;
})

Service.interceptors.response.use(response => {
    return response.data;
},err=>{
    console.log(err);
})